package com.test.bean;

public class Player {
	private Integer ID;
	private String name;
	private String team;
	private String city;

	public Integer getID() {
		return ID;
	}

	public void setID(Integer iD) {
		ID = iD;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTeam() {
		return team;
	}

	public void setTeam(String team) {
		this.team = team;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public Player(Integer iD, String name, String team, String city) {
		super();
		ID = iD;
		this.name = name;
		this.team = team;
		this.city = city;
	}

	public Player() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "Player [ID=" + ID + ", name=" + name + ", team=" + team + ", city=" + city + "]";
	}

	public Player(String name, String team, String city) {
		super();
		this.name = name;
		this.team = team;
		this.city = city;
	}

}
